#include <cassert>
#include <cctype>
#include <cerrno>
#include <cfloat>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdarg>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <cwchar>
#include <cwctype>

#include "StdC.h"



#if PLATFORM==PLATFORM_WINDOWS
void glxErrorMsg( const wchar_t* msg, const wchar_t* file, unsigned line )
{
        _wassert( msg, file, line );
}
#else
void glxErrorMsg( const wchar_t* msg, const wchar_t* file, unsigned line )
{
        printf( "error: %s(%d), %s\n", file, line, msg );
}
#endif


int glxIscntrl ( int c )
{
        return iscntrl(c);
}


static long s_errorno = 0;

void glxSetError( long e )
{
        s_errorno = e;
}

long glxGetError()
{
        return s_errorno;
}

int glxPrintf (char *str, const char *format, ...)
{
    return 0;
}
int glxSprintf (char *str, const char *format, ...)
{
        return 0;
}

int glxSscanf (const char *str, const char *format, ...)
{
        return 0;
}